package com.tek.ding.faceding.presenter.face;


import com.tek.ding.faceding.bean.BaseBean;
import com.tek.ding.faceding.bean.Members;
import com.tek.ding.faceding.network.HttpClient;

import java.util.List;

import io.reactivex.rxjava3.core.Observable;

public class FaceModel implements FaceContract.IFaceModel {


    @Override
    public Observable<BaseBean<List<Members>>> getMemberList2(String storeUid, String namePhone) {
        return HttpClient.Builder.getApiService().getMemberList2(storeUid, 1, 10, namePhone);
    }

    @Override
    public Observable<BaseBean<String>> deleteFaceEntity2(String storeUid, String memberUid) {
        return HttpClient.Builder.getApiService().deleteFaceEntity2(storeUid, memberUid);
    }
}
